package com.igeek.clud_system.dao;

import com.igeek.clud_system.entity.ClubNews;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface NewsDao {
	List<ClubNews> getNews();

	/**
	 * 通过社团查找最近的五条数据
	 */
	List<ClubNews> findNewsBuClubId(int clubId);
}
